
<%@page import="java.sql.Statement"%>
<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.PreparedStatement"%>
<%@page import="java.sql.Connection"%>
<%@page import="javax.sql.DataSource"%>
<%@page
	import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@page import="org.springframework.context.ApplicationContext"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	out.println("实例化接口:<br/>");
	//得到所有被注入的名字列表 测试用
	ServletContext sc = getServletConfig().getServletContext();
	ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(sc);
	String[] beanNames = ctx.getBeanDefinitionNames();
	for (String string : beanNames) {
		out.println("<b>" + string + "<b/><br/><br/>");
	}
	

%>